package com.cicigodd.brick.plug.system.role.mapper;

import com.cicigodd.brick.plug.system.role.entity.SysRoleMenu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 角色菜单关联
 *
 * @author cicigodd
 * @date 2022/12/12 15:52:23
 */
public interface SysRoleMenuMapper extends BaseMapper<SysRoleMenu> {

    List<Integer> getMenuIdsByRoleId(@Param("roleId") Integer roleId);

    List<String> getPermsIdsByRoleIds(List<Integer> roleIds);
}
